package com.etc.controller;

import com.etc.service.Consultant06Service;
import com.etc.service.Consultant07Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Flux;

@RestController
public class Chat07Controller {

    @Autowired
    private Consultant07Service consultantService;

    @RequestMapping(value = "/chat07",produces = "text/html;charset=UTF-8")
    public Flux<String> chat(String id,String question) {
        return consultantService.chat(id,question);
    }


}
